package com.example.factory;

import com.example.dao.StudentAddDao;
import com.example.dao.StudentAddDaoImp;
import com.example.dao.UserDaoImp;

public class StudentAddDaoFactory {
    //通过静态工厂方法模式来实现StudentAddDao实现类对象的创建并返回
    public static StudentAddDao getStudentAddDao(){
        return new StudentAddDaoImp();
    }
}
